package com.yzh.oop2;

/**
 * @author 于振晗
 * @title: Test
 * @description: TODO 测试类
 * @date 2020年08月26日
 * @path com.yzh.oop2
 */
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("white", 5, "小白");
        System.out.println(dog.toString());
        System.out.println("====================");
        Dog dog1 = new Dog("white", 5, "小白");
        System.out.println(dog.equals(dog1));
    }
}
